﻿{% extends 'base.html' %} 

<!-- 导入css和js -->
{% block cssAndjava %}
<link rel=stylesheet type="text/css" href="/css/attention.css">
<script type="text/javascript" src="/script/attention.js"></script>
{% endblock cssAndjava %} 

<!-- 修改页边 -->
{% block pageside %}
<div class="artical_change">
	<a href="/attention/modify/?idx={{idx}}">修改文章</a><br><br>
	<a onclick="OpenWin({{idx}})" style="cursor: pointer;">删除文章</a>
</div>
{% endblock pageside %}

<!-- 修改主体内容 -->
{% block mainbody %}
	<!-- 隐藏层 -->
	<div id="overlay"></div>
	<div id="win">
		<h2><span id="close" onclick="CloseWin()">×</span></h2>
				<p>确认要删除吗？</p>
				<button onclick="ReturnParent()">确认</button>
				<button onclick="CloseWin()">放弃</button>
				<div id="wintmp" style="display:none;"></div>
		</form>
	</div>
	
<div class="div_article">
	{{mytitle}}
  <hr width=80% size=1 color=#C7C7C7 align=center>
	<pre class="p_content">{{content}}</pre>
</div>
{% endblock mainbody %}